import request from '@/utils/request'

// 删除商品分类
export function delVariety(data) {
  return request({
    url: 'api/delete-variety',
    method: 'post',
    data: data
  })
}

// 保存商品分类信息
export function saveVariety(data) {
  return request({
    url: 'api/save-variety',
    method: 'post',
    data: data
  })
}
